def add2num(a, b):
    c = a+b
    return c

# value = add2num(10, 20)
# print(value)


def func1(num):
    if num % 2 == 1:
        return True
    else:
        return False

# print(func1(8))

def divid(a, b):
    shang = a//b
    yushu = a%b
    return shang, yushu  #默认是元组
    # return (shang, yushu)
    # return {'商':shang, '余':yushu}

result = divid(5, 2)
print(result)  # 输出(2, 1)
